package com.lzh.persevere.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lzh.persevere.model.entity.EssayInfo;
import com.lzh.persevere.model.qo.essay.EssayPageQO;
import com.lzh.persevere.model.ro.essay.SendEssayRO;
import com.lzh.persevere.model.vo.essay.EssayVO;

import java.util.Map;


/**
 * 随笔表服务接口
 *
 * @author luzhiheng
 * @since 2025-07-26
 */
public interface EssayInfoService extends IService<EssayInfo> {

    /**
     * 分页查询
     *
     * @param qo 查询参数
     * @return 结果
     */
    Map<String, Object> pageList(EssayPageQO qo);

    /**
     * 发送随笔
     *
     * @param ro 随笔信息
     * @return 随笔信息
     */
    EssayVO sendEssay(SendEssayRO ro);
}

